package com.alex.index;

import cn.hutool.core.collection.ConcurrentHashSet;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.db.Db;
import cn.hutool.db.Entity;
import cn.hutool.json.JSONUtil;
import com.alibaba.fastjson.JSONObject;

import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class JiaTest {

    public static void main(String[] args) throws SQLException {

        String info = "Ranganath, Bharat; Vanguard Aesthet Plast Surg, Ft Lauderdale, FL USA";
        String full = reArgs(info);
        System.out.println(full);

    }


    public static String reArgsFront(String str) {
        if (null == str || str.isEmpty()) {
            return "";
        }
        str = str.replaceAll("^Abt([.,; ])", "Abteilung$1").replaceAll("^Academy([.,; ])", "Academy$1").replaceAll("^Acad([.,; ])", "Academy$1").replaceAll("^Accid([.,; ])", "Accident$1").replaceAll("^Administration([.,; ])", "Administration$1").replaceAll("^Adm([.,; ])", "Administration$1").replaceAll("^Adv([.,; ])", "Advance(d)$1").replaceAll("^Aerosp([.,; ])", "Aerospace$1").replaceAll("^Agcy([.,; ])", "Agency$1").replaceAll("^Agriculture([.,; ])", "Agricultural$1").replaceAll("^Agr([.,; ])", "Agricultural$1").replaceAll("^Akad([.,; ])", "Accident$1").replaceAll("^Amer([.,; ])", "America(n)$1").replaceAll("^Anal([.,; ])", "Analysis$1").replaceAll("^Anatomie([.,; ])", "Anatomia$1").replaceAll("^Anatomy([.,; ])", "Anatomia$1").replaceAll("^Anat([.,; ])", "Anatomia$1").replaceAll("^Angew([.,; ])", "Angewandte$1").replaceAll("^Anim([.,; ])", "Animal$1").replaceAll("^Antigua & Barbu([.,; ])", "Antigua & Barbuda$1").replaceAll("^Apparat([.,; ])", "Apparatus$1").replaceAll("^Appl([.,; ])", "Applied$1").replaceAll("^Arthrit([.,; ])", "Arthritis$1").replaceAll("^Assoc([.,; ])", "Association$1").replaceAll("^Augenklin([.,; ])", "Augenklinik$1").replaceAll("^Ave([.,; ])", "Avenue$1").replaceAll("^Behavior([.,; ])", "Behavior$1").replaceAll("^Behaviour([.,; ])", "Behavior$1").replaceAll("^Behav([.,; ])", "Behavior$1").replaceAll("^Biochem([.,; ])", "Biochemistry$1").replaceAll("^Biologie([.,; ])", "Biologie$1").replaceAll("^Biology([.,; ])", "Biologie$1").replaceAll("^Biol([.,; ])", "Biologie$1").replaceAll("^Bldg([.,; ])", "Building$1").replaceAll("^Blvd([.,; ])", "Boulevard$1").replaceAll("^Bosnia & Herceg([.,; ])", "Bosnia & Hercegovina$1").replaceAll("^Botanic([.,; ])", "Botanical$1").replaceAll("^Botany([.,; ])", "Botanical$1").replaceAll("^Bot([.,; ])", "Botanical$1").replaceAll("^Bros([.,; ])", "Brothers$1").replaceAll("^Bur([.,; ])", "Bureau$1").replaceAll("^Canc([.,; ])", "Cancer$1").replaceAll("^Cent Afr Republ([.,; ])", "Central African Republic$1").replaceAll("^Cent([.,; ])", "Central$1").replaceAll("^Chemistry([.,; ])", "Chemistry$1").replaceAll("^Chem([.,; ])", "Chemistry$1").replaceAll("^Chim([.,; ])", "Chemistry$1").replaceAll("^Chirurg([.,; ])", "Chirurgie$1").replaceAll("^Cient([.,; ])", "Cientificas$1").replaceAll("^Clinic([.,; ])", "Clinical$1").replaceAll("^Clin([.,; ])", "Clinical$1").replaceAll("^Coll([.,; ])", "College$1").replaceAll("^Commun([.,; ])", "Communication$1").replaceAll("^Comm([.,; ])", "Committee$1").replaceAll("^Computer([.,; ])", "Computer$1").replaceAll("^Comp([.,; ])", "Computer$1").replaceAll("^Com([.,; ])", "Comite$1").replaceAll("^Conf([.,; ])", "Conference$1").replaceAll("^Corporation([.,; ])", "Corporate$1").replaceAll("^Corp([.,; ])", "Corporation$1").replaceAll("^Co([.,; ])", "Company$1").replaceAll("^Cpds([.,; ])", "Compounds$1").replaceAll("^Ctr([.,; ])", "Center$1").replaceAll("^Cty([.,; ])", "County$1").replaceAll("^Cytologie([.,; ])", "Cytologie$1").replaceAll("^Cytology([.,; ])", "Cytologie$1").replaceAll("^Cytol([.,; ])", "Cytologie$1").replaceAll("^Def([.,; ])", "Defence or Defense$1").replaceAll("^Dental([.,; ])", "Dentistry$1").replaceAll("^Dent([.,; ])", "Dentistry$1").replaceAll("^Dept([.,; ])", "Department$1").replaceAll("^Deutschen([.,; ])", "Deutschen$1").replaceAll("^Deutscher([.,; ])", "Deutschen$1").replaceAll("^Deutsches([.,; ])", "Deutsches$1").replaceAll("^Deutsche([.,; ])", "Deutsches$1").replaceAll("^Deutsch([.,; ])", "Deutsches$1").replaceAll("^Development([.,; ])", "Development$1").replaceAll("^Dev([.,; ])", "Development$1").replaceAll("^Diabet([.,; ])", "Diabet$1").replaceAll("^Diag([.,; ])", "Diagnosis$1").replaceAll("^Disease([.,; ])", "Diseases$1").replaceAll("^Dist([.,; ])", "District$1").replaceAll("^Dis([.,; ])", "Diseases$1").replaceAll("^Div([.,; ])", "Division$1").replaceAll("^Dominican Rep([.,; ])", "Dominican Republic$1").replaceAll("^Dr([.,; ])", "Drive$1").replaceAll("^Econ([.,; ])", "Economy$1").replaceAll("^Education([.,; ])", "Education$1").replaceAll("^Educ([.,; ])", "Education$1").replaceAll("^EEG([.,; ])", "Electroencephalographic$1").replaceAll("^Egyet([.,; ])", "Egyetem$1").replaceAll("^Electrical([.,; ])", "Electrical$1").replaceAll("^Electricity([.,; ])", "Electrical$1").replaceAll("^Electric([.,; ])", "Electrical$1").replaceAll("^Electroencephalographic([.,; ])", "Electroencephalography$1").replaceAll("^Electronic([.,; ])", "Electrical$1").replaceAll("^Elect([.,; ])", "Electrical$1").replaceAll("^Elektrische([.,; ])", "Electrical$1").replaceAll("^Elektrizitat([.,; ])", "Electrical$1").replaceAll("^Elektronic([.,; ])", "Electrical$1").replaceAll("^Elekt([.,; ])", "Electrical$1").replaceAll("^Engineering([.,; ])", "Electrical$1").replaceAll("^Engn([.,; ])", "Electrical$1").replaceAll("^Environment([.,; ])", "Environment$1").replaceAll("^Environm([.,; ])", "Environment$1").replaceAll("^Equat Guinea([.,; ])", "Equatorial Guinea$1").replaceAll("^Establishment([.,; ])", "Etablissement$1").replaceAll("^Estab([.,; ])", "Establishment$1").replaceAll("^Estab([.,; ])", "Etablissement$1").replaceAll("^Etab([.,; ])", "Etablissement$1").replaceAll("^Etud([.,; ])", "Étude$1").replaceAll("^Experiment([.,; ])", "Experiment$1").replaceAll("^Expt([.,; ])", "Experiment$1").replaceAll("^E([.,; ])", "East$1").replaceAll("^Fac([.,; ])", "Faculty$1").replaceAll("^Fak([.,; ])", "Fakultat$1").replaceAll("^Farm([.,; ])", "Farmacia$1").replaceAll("^Fdn([.,; ])", "Foundation$1").replaceAll("^Fed([.,; ])", "Federal$1").replaceAll("^Fis([.,; ])", "Fisica$1").replaceAll("^Forsch([.,; ])", "Forschung$1").replaceAll("^Foundation([.,; ])", "Fundacion$1").replaceAll("^Fr Austr Lands([.,; ])", "French Austral Lands$1").replaceAll("^Fr Polynesia([.,; ])", "French Polynesia$1").replaceAll("^Ft([.,; ])", "Fort$1").replaceAll("^Fys([.,; ])", "Fysica$1").replaceAll("^Gen([.,; ])", "General$1").replaceAll("^Geol([.,; ])", "Geology$1").replaceAll("^Gesell([.,; ])", "Gesellschaft$1").replaceAll("^Govt([.,; ])", "Government$1").replaceAll("^Grad([.,; ])", "Graduate$1").replaceAll("^Group([.,; ])", "Gruppe$1").replaceAll("^Grp([.,; ])", "Group$1").replaceAll("^Hgsk([.,; ])", "Hogeskole$1").replaceAll("^Historic([.,; ])", "Historical$1").replaceAll("^History([.,; ])", "Historical$1").replaceAll("^Hist([.,; ])", "Historical$1").replaceAll("^Hlth([.,; ])", "Health$1").replaceAll("^Hop([.,; ])", "Hospital$1").replaceAll("^Horticulture([.,; ])", "Horticultural$1").replaceAll("^Hort([.,; ])", "Horticultural$1").replaceAll("^Hosp([.,; ])", "Hospital$1").replaceAll("^Hsch([.,; ])", "Hochschule$1").replaceAll("^Hts([.,; ])", "Heights$1").replaceAll("^Husb([.,; ])", "Husbandry$1").replaceAll("^Hyg([.,; ])", "Hygiene$1").replaceAll("^Immunol([.,; ])", "Immunology$1").replaceAll("^Inc([.,; ])", "Incorporated$1").replaceAll("^Industry([.,; ])", "Industrial$1").replaceAll("^Ind([.,; ])", "Industrial$1").replaceAll("^Ind([.,; ])", "Industry$1").replaceAll("^Infect([.,; ])", "Infectious$1").replaceAll("^Infirm([.,; ])", "Infirmary$1").replaceAll("^Ingegneria([.,; ])", "Ingenieria$1").replaceAll("^Ingenieria([.,; ])", "Ingenieria$1").replaceAll("^Ingn([.,; ])", "Ingenieria$1").replaceAll("^Institute([.,; ])", "Institutional$1").replaceAll("^Institute([.,; ])", "Ist$1").replaceAll("^Inst([.,; ])", "Institute$1").replaceAll("^Intro([.,; ])", "Introduction$1").replaceAll("^Int([.,; ])", "International$1").replaceAll("^Investigation([.,; ])", "Investigational$1").replaceAll("^Invest([.,; ])", "Investigational$1").replaceAll("^Isit([.,; ])", "Institutional$1").replaceAll("^Isl([.,; ])", "Island$1").replaceAll("^Istituto([.,; ])", "Institutional$1").replaceAll("^Jr([.,; ])", "Junior$1").replaceAll("^Kardiol([.,; ])", "Kardiologie$1").replaceAll("^Kem([.,; ])", "Kemiai$1").replaceAll("^Klin([.,; ])", "Klinik$1").replaceAll("^Konf([.,; ])", "Konference$1").replaceAll("^Laboratory([.,; ])", "Laboratories$1").replaceAll("^Labs([.,; ])", "Laboratories$1").replaceAll("^Lab([.,; ])", "Laboratories$1").replaceAll("^Lect([.,; ])", "Lecture$1").replaceAll("^Lib([.,; ])", "Library$1").replaceAll("^Ltd([.,; ])", "Limited$1").replaceAll("^Malad([.,; ])", "Maladies$1").replaceAll("^Malagasy Republ([.,; ])", "Malagasy Republic$1").replaceAll("^Matemat([.,; ])", "Matematicky$1").replaceAll("^Mathematics([.,; ])", "Mathematical$1").replaceAll("^Math([.,; ])", "Mathematics$1").replaceAll("^Mat([.,; ])", "Material$1").replaceAll("^Mechanical([.,; ])", "Mechanical$1").replaceAll("^Mechanics([.,; ])", "Mechanical$1").replaceAll("^Mech([.,; ])", "Mechanical$1").replaceAll("^Medical([.,; ])", "Medicinal$1").replaceAll("^Medicinal([.,; ])", "Medicinal$1").replaceAll("^Medicine([.,; ])", "Medicinal$1").replaceAll("^Meditskkaya([.,; ])", "Medizin$1").replaceAll("^Med([.,; ])", "Medical$1").replaceAll("^Mem([.,; ])", "Memorial$1").replaceAll("^Metabolic([.,; ])", "Metabolism$1").replaceAll("^Metab([.,; ])", "Metabolic$1").replaceAll("^Metallurgy([.,; ])", "Metabolic$1").replaceAll("^Metal([.,; ])", "Metabolic$1").replaceAll("^Met([.,; ])", "Metallurgical$1").replaceAll("^Mfg([.,; ])", "Manufacturing$1").replaceAll("^Mil([.,; ])", "Military$1").replaceAll("^Minist([.,; ])", "Ministry$1").replaceAll("^Min([.,; ])", "Mining$1").replaceAll("^Mkt([.,; ])", "Mining$1").replaceAll("^Molecule([.,; ])", "Molekular$1").replaceAll("^Mol([.,; ])", "Molecular$1").replaceAll("^Mongol Peo Rep([.,; ])", "Mongolian People's Republic$1").replaceAll("^Mount([.,; ])", "Mountain$1").replaceAll("^Mt([.,; ])", "Mountain$1").replaceAll("^Nacional([.,; ])", "Nacional$1").replaceAll("^National([.,; ])", "Nacional$1").replaceAll("^Natl([.,; ])", "Nacional$1").replaceAll("^Nature([.,; ])", "Nacional$1").replaceAll("^Nat([.,; ])", "Nature$1").replaceAll("^Navigation([.,; ])", "Navigational$1").replaceAll("^Nav([.,; ])", "Navigational$1").replaceAll("^Nazionale([.,; ])", "Nazionale$1").replaceAll("^Neth Antilles([.,; ])", "Netherlands Antilles$1").replaceAll("^NE([.,; ])", "Northeast$1").replaceAll("^North Ireland([.,; ])", "Northern Ireland$1").replaceAll("^Northeast([.,; ])", "Northeastern$1").replaceAll("^Northwest([.,; ])", "Northwestern$1").replaceAll("^No([.,; ])", "Northern$1").replaceAll("^Nucl([.,; ])", "Nuclear$1").replaceAll("^Nukl([.,; ])", "Nuklear$1").replaceAll("^Nutr([.,; ])", "Nutrition$1").replaceAll("^NW([.,; ])", "Northwest$1").replaceAll("^N([.,; ])", "North$1").replaceAll("^Observ([.,; ])", "Observatory$1").replaceAll("^Obstet([.,; ])", "Obstetrics$1").replaceAll("^Off([.,; ])", "Office$1").replaceAll("^Organization([.,; ])", "Organizational$1").replaceAll("^Org([.,; ])", "Organization$1").replaceAll("^Osped([.,; ])", "Ospedale$1").replaceAll("^Paediatric([.,; ])", "Paediatric$1").replaceAll("^Paediat([.,; ])", "Paediat$1").replaceAll("^Papua N Guinea([.,; ])", "Papua New Guinea$1").replaceAll("^Pediatric([.,; ])", "Pediatrics$1").replaceAll("^Peoples R China([.,; ])", "People's Republic of China$1").replaceAll("^Petr([.,; ])", "Petroleum$1").replaceAll("^Pharm([.,; ])", "Pharmacy$1").replaceAll("^Phys([.,; ])", "Physical$1").replaceAll("^Pkwy([.,; ])", "Parkway$1").replaceAll("^Pk([.,; ])", "Park$1").replaceAll("^Place([.,; ])", "Place$1").replaceAll("^Platz([.,; ])", "Plein$1").replaceAll("^Pl([.,; ])", "Place$1").replaceAll("^Process([.,; ])", "Processing$1").replaceAll("^Proc([.,; ])", "Processing$1").replaceAll("^Products([.,; ])", "Production$1").replaceAll("^Prod([.,; ])", "Production$1").replaceAll("^Prof([.,; ])", "Production$1").replaceAll("^Prop([.,; ])", "Production$1").replaceAll("^Prot([.,; ])", "Protein$1").replaceAll("^Province([.,; ])", "Provincial$1").replaceAll("^Prov([.,; ])", "Province$1").replaceAll("^Psychiatry([.,; ])", "Psychiatry$1").replaceAll("^Psychiat([.,; ])", "Psychiatry$1").replaceAll("^Pulm([.,; ])", "Pulmonary$1").replaceAll("^Quim([.,; ])", "Quimica$1").replaceAll("^Rd([.,; ])", "Road$1").replaceAll("^Rech([.,; ])", "Recherche$1").replaceAll("^Rehabil([.,; ])", "Rehabilitation$1").replaceAll("^Rep of Georgia([.,; ])", "Republic of Georgia$1").replaceAll("^Reproduction([.,; ])", "Reproductive$1").replaceAll("^Reprod([.,; ])", "Reproduction$1").replaceAll("^Resp([.,; ])", "Respiratory$1").replaceAll("^Res([.,; ])", "Research$1").replaceAll("^Ricerca([.,; ])", "Ricerche$1").replaceAll("^Ric([.,; ])", "Ricerca$1").replaceAll("^Sanat([.,; ])", "Sanatorium$1").replaceAll("^Sanit([.,; ])", "Sanitary$1").replaceAll("^Sao Tome E Prin([.,; ])", "Sao Tome E Principe$1").replaceAll("^Sch([.,; ])", "School$1").replaceAll("^Science([.,; ])", "Scientific$1").replaceAll("^Sci([.,; ])", "Science$1").replaceAll("^Semicond([.,; ])", "Semiconductor$1").replaceAll("^Serv([.,; ])", "Service$1").replaceAll("^Se([.,; ])", "Southeast$1").replaceAll("^Soc([.,; ])", "Society$1").replaceAll("^Southeast([.,; ])", "Southeast$1").replaceAll("^Southwest([.,; ])", "Southeast$1").replaceAll("^So([.,; ])", "Southern$1").replaceAll("^Spect([.,; ])", "Spectroscopy$1").replaceAll("^Sq([.,; ])", "Square$1").replaceAll("^St Kitts & Nevi([.,; ])", "Saint Kitts & Nevis$1").replaceAll("^Standard([.,; ])", "Standard$1").replaceAll("^Stand([.,; ])", "Standard$1").replaceAll("^Statistics([.,; ])", "Statistical$1").replaceAll("^Stat([.,; ])", "Statistical$1").replaceAll("^Stn([.,; ])", "Station$1").replaceAll("^Structure([.,; ])", "Structure$1").replaceAll("^Struct([.,; ])", "Structure$1").replaceAll("^Str([.,; ])", "Straat$1").replaceAll("^St([.,; ])", "Street$1").replaceAll("^Substance([.,; ])", "Substances$1").replaceAll("^Subst([.,; ])", "Substances$1").replaceAll("^Super([.,; ])", "Super$1").replaceAll("^Surgeon([.,; ])", "Surgeons$1").replaceAll("^Surg([.,; ])", "Surgeons$1").replaceAll("^Sw([.,; ])", "Southwest$1").replaceAll("^Synth([.,; ])", "Synthesis$1").replaceAll("^System([.,; ])", "System$1").replaceAll("^Syst([.,; ])", "System$1").replaceAll("^S([.,; ])", "South$1").replaceAll("^Tb([.,; ])", "Tuberculosis$1").replaceAll("^Technical([.,; ])", "Technical$1").replaceAll("^Technische([.,; ])", "Technische$1").replaceAll("^Tech([.,; ])", "Technical$1").replaceAll("^Tel([.,; ])", "Telephone$1").replaceAll("^Temp([.,; ])", "Temperature$1").replaceAll("^Terr([.,; ])", "Terrestrial$1").replaceAll("^Textile([.,; ])", "Textiles$1").replaceAll("^Text([.,; ])", "Textiles$1").replaceAll("^Trinid & Tobago([.,; ])", "Trinidad & Tobago$1").replaceAll("^Tud([.,; ])", "Tudomanyos$1").replaceAll("^U Arab Emirates([.,; ])", "United Arab Emirates$1").replaceAll("^Univ([.,; ])", "University$1").replaceAll("^USA([.,; ])", "United States of America$1").replaceAll("^Vasc([.,; ])", "Vascular$1").replaceAll("^Vet([.,; ])", "Veterns$1").replaceAll("^Weap([.,; ])", "Weapons$1").replaceAll("^Welf([.,; ])", "Welfare$1").replaceAll("^Wissenschafter([.,; ])", "Wissenschafter$1").replaceAll("^Wissenschaftes([.,; ])", "Wissenschaftes$1").replaceAll("^Wissenschaft([.,; ])", "Wissenschaft$1").replaceAll("^Wissensch([.,; ])", "Wissensch$1").replaceAll("^W([.,; ])", "West$1").replaceAll("^Zent([.,; ])", "Zentral$1");
        return str;
    }

    public static String reArgsBack(String str) {
        if (null == str || str.isEmpty()) {
            return "";
        }
        str = str.replaceAll("([.,; ])Abt$", "$1Abteilung").replaceAll("([.,; ])Academy$", "$1Academy").replaceAll("([.,; ])Acad$", "$1Academy").replaceAll("([.,; ])Accid$", "$1Accident").replaceAll("([.,; ])Administration$", "$1Administration").replaceAll("([.,; ])Adm$", "$1Administration").replaceAll("([.,; ])Adv$", "$1Advance(d)").replaceAll("([.,; ])Aerosp$", "$1Aerospace").replaceAll("([.,; ])Agcy$", "$1Agency").replaceAll("([.,; ])Agriculture$", "$1Agricultural").replaceAll("([.,; ])Agr$", "$1Agricultural").replaceAll("([.,; ])Akad$", "$1Accident").replaceAll("([.,; ])Amer$", "$1America(n)").replaceAll("([.,; ])Anal$", "$1Analysis").replaceAll("([.,; ])Anatomie$", "$1Anatomia").replaceAll("([.,; ])Anatomy$", "$1Anatomia").replaceAll("([.,; ])Anat$", "$1Anatomia").replaceAll("([.,; ])Angew$", "$1Angewandte").replaceAll("([.,; ])Anim$", "$1Animal").replaceAll("([.,; ])Antigua & Barbu$", "$1Antigua & Barbuda").replaceAll("([.,; ])Apparat$", "$1Apparatus").replaceAll("([.,; ])Appl$", "$1Applied").replaceAll("([.,; ])Arthrit$", "$1Arthritis").replaceAll("([.,; ])Assoc$", "$1Association").replaceAll("([.,; ])Augenklin$", "$1Augenklinik").replaceAll("([.,; ])Ave$", "$1Avenue").replaceAll("([.,; ])Behavior$", "$1Behavior").replaceAll("([.,; ])Behaviour$", "$1Behavior").replaceAll("([.,; ])Behav$", "$1Behavior").replaceAll("([.,; ])Biochem$", "$1Biochemistry").replaceAll("([.,; ])Biologie$", "$1Biologie").replaceAll("([.,; ])Biology$", "$1Biologie").replaceAll("([.,; ])Biol$", "$1Biologie").replaceAll("([.,; ])Bldg$", "$1Building").replaceAll("([.,; ])Blvd$", "$1Boulevard").replaceAll("([.,; ])Bosnia & Herceg$", "$1Bosnia & Hercegovina").replaceAll("([.,; ])Botanic$", "$1Botanical").replaceAll("([.,; ])Botany$", "$1Botanical").replaceAll("([.,; ])Bot$", "$1Botanical").replaceAll("([.,; ])Bros$", "$1Brothers").replaceAll("([.,; ])Bur$", "$1Bureau").replaceAll("([.,; ])Canc$", "$1Cancer").replaceAll("([.,; ])Cent Afr Republ$", "$1Central African Republic").replaceAll("([.,; ])Cent$", "$1Central").replaceAll("([.,; ])Chemistry$", "$1Chemistry").replaceAll("([.,; ])Chem$", "$1Chemistry").replaceAll("([.,; ])Chim$", "$1Chemistry").replaceAll("([.,; ])Chirurg$", "$1Chirurgie").replaceAll("([.,; ])Cient$", "$1Cientificas").replaceAll("([.,; ])Clinic$", "$1Clinical").replaceAll("([.,; ])Clin$", "$1Clinical").replaceAll("([.,; ])Coll$", "$1College").replaceAll("([.,; ])Commun$", "$1Communication").replaceAll("([.,; ])Comm$", "$1Committee").replaceAll("([.,; ])Computer$", "$1Computer").replaceAll("([.,; ])Comp$", "$1Computer").replaceAll("([.,; ])Com$", "$1Comite").replaceAll("([.,; ])Conf$", "$1Conference").replaceAll("([.,; ])Corporation$", "$1Corporate").replaceAll("([.,; ])Corp$", "$1Corporation").replaceAll("([.,; ])Co$", "$1Company").replaceAll("([.,; ])Cpds$", "$1Compounds").replaceAll("([.,; ])Ctr$", "$1Center").replaceAll("([.,; ])Cty$", "$1County").replaceAll("([.,; ])Cytologie$", "$1Cytologie").replaceAll("([.,; ])Cytology$", "$1Cytologie").replaceAll("([.,; ])Cytol$", "$1Cytologie").replaceAll("([.,; ])Def$", "$1Defence or Defense").replaceAll("([.,; ])Dental$", "$1Dentistry").replaceAll("([.,; ])Dent$", "$1Dentistry").replaceAll("([.,; ])Dept$", "$1Department").replaceAll("([.,; ])Deutschen$", "$1Deutschen").replaceAll("([.,; ])Deutscher$", "$1Deutschen").replaceAll("([.,; ])Deutsches$", "$1Deutsches").replaceAll("([.,; ])Deutsche$", "$1Deutsches").replaceAll("([.,; ])Deutsch$", "$1Deutsches").replaceAll("([.,; ])Development$", "$1Development").replaceAll("([.,; ])Dev$", "$1Development").replaceAll("([.,; ])Diabet$", "$1Diabet").replaceAll("([.,; ])Diag$", "$1Diagnosis").replaceAll("([.,; ])Disease$", "$1Diseases").replaceAll("([.,; ])Dist$", "$1District").replaceAll("([.,; ])Dis$", "$1Diseases").replaceAll("([.,; ])Div$", "$1Division").replaceAll("([.,; ])Dominican Rep$", "$1Dominican Republic").replaceAll("([.,; ])Dr$", "$1Drive").replaceAll("([.,; ])Econ$", "$1Economy").replaceAll("([.,; ])Education$", "$1Education").replaceAll("([.,; ])Educ$", "$1Education").replaceAll("([.,; ])EEG$", "$1Electroencephalographic").replaceAll("([.,; ])Egyet$", "$1Egyetem").replaceAll("([.,; ])Electrical$", "$1Electrical").replaceAll("([.,; ])Electricity$", "$1Electrical").replaceAll("([.,; ])Electric$", "$1Electrical").replaceAll("([.,; ])Electroencephalographic$", "$1Electroencephalography").replaceAll("([.,; ])Electronic$", "$1Electrical").replaceAll("([.,; ])Elect$", "$1Electrical").replaceAll("([.,; ])Elektrische$", "$1Electrical").replaceAll("([.,; ])Elektrizitat$", "$1Electrical").replaceAll("([.,; ])Elektronic$", "$1Electrical").replaceAll("([.,; ])Elekt$", "$1Electrical").replaceAll("([.,; ])Engineering$", "$1Electrical").replaceAll("([.,; ])Engn$", "$1Electrical").replaceAll("([.,; ])Environment$", "$1Environment").replaceAll("([.,; ])Environm$", "$1Environment").replaceAll("([.,; ])Equat Guinea$", "$1Equatorial Guinea").replaceAll("([.,; ])Establishment$", "$1Etablissement").replaceAll("([.,; ])Estab$", "$1Establishment").replaceAll("([.,; ])Estab$", "$1Etablissement").replaceAll("([.,; ])Etab$", "$1Etablissement").replaceAll("([.,; ])Etud$", "$1Étude").replaceAll("([.,; ])Experiment$", "$1Experiment").replaceAll("([.,; ])Expt$", "$1Experiment").replaceAll("([.,; ])E$", "$1East").replaceAll("([.,; ])Fac$", "$1Faculty").replaceAll("([.,; ])Fak$", "$1Fakultat").replaceAll("([.,; ])Farm$", "$1Farmacia").replaceAll("([.,; ])Fdn$", "$1Foundation").replaceAll("([.,; ])Fed$", "$1Federal").replaceAll("([.,; ])Fis$", "$1Fisica").replaceAll("([.,; ])Forsch$", "$1Forschung").replaceAll("([.,; ])Foundation$", "$1Fundacion").replaceAll("([.,; ])Fr Austr Lands$", "$1French Austral Lands").replaceAll("([.,; ])Fr Polynesia$", "$1French Polynesia").replaceAll("([.,; ])Ft$", "$1Fort").replaceAll("([.,; ])Fys$", "$1Fysica").replaceAll("([.,; ])Gen$", "$1General").replaceAll("([.,; ])Geol$", "$1Geology").replaceAll("([.,; ])Gesell$", "$1Gesellschaft").replaceAll("([.,; ])Govt$", "$1Government").replaceAll("([.,; ])Grad$", "$1Graduate").replaceAll("([.,; ])Group$", "$1Gruppe").replaceAll("([.,; ])Grp$", "$1Group").replaceAll("([.,; ])Hgsk$", "$1Hogeskole").replaceAll("([.,; ])Historic$", "$1Historical").replaceAll("([.,; ])History$", "$1Historical").replaceAll("([.,; ])Hist$", "$1Historical").replaceAll("([.,; ])Hlth$", "$1Health").replaceAll("([.,; ])Hop$", "$1Hospital").replaceAll("([.,; ])Horticulture$", "$1Horticultural").replaceAll("([.,; ])Hort$", "$1Horticultural").replaceAll("([.,; ])Hosp$", "$1Hospital").replaceAll("([.,; ])Hsch$", "$1Hochschule").replaceAll("([.,; ])Hts$", "$1Heights").replaceAll("([.,; ])Husb$", "$1Husbandry").replaceAll("([.,; ])Hyg$", "$1Hygiene").replaceAll("([.,; ])Immunol$", "$1Immunology").replaceAll("([.,; ])Inc$", "$1Incorporated").replaceAll("([.,; ])Industry$", "$1Industrial").replaceAll("([.,; ])Ind$", "$1Industrial").replaceAll("([.,; ])Ind$", "$1Industry").replaceAll("([.,; ])Infect$", "$1Infectious").replaceAll("([.,; ])Infirm$", "$1Infirmary").replaceAll("([.,; ])Ingegneria$", "$1Ingenieria").replaceAll("([.,; ])Ingenieria$", "$1Ingenieria").replaceAll("([.,; ])Ingn$", "$1Ingenieria").replaceAll("([.,; ])Institute$", "$1Institutional").replaceAll("([.,; ])Institute$", "$1Ist").replaceAll("([.,; ])Inst$", "$1Institute").replaceAll("([.,; ])Intro$", "$1Introduction").replaceAll("([.,; ])Int$", "$1International").replaceAll("([.,; ])Investigation$", "$1Investigational").replaceAll("([.,; ])Invest$", "$1Investigational").replaceAll("([.,; ])Isit$", "$1Institutional").replaceAll("([.,; ])Isl$", "$1Island").replaceAll("([.,; ])Istituto$", "$1Institutional").replaceAll("([.,; ])Jr$", "$1Junior").replaceAll("([.,; ])Kardiol$", "$1Kardiologie").replaceAll("([.,; ])Kem$", "$1Kemiai").replaceAll("([.,; ])Klin$", "$1Klinik").replaceAll("([.,; ])Konf$", "$1Konference").replaceAll("([.,; ])Laboratory$", "$1Laboratories").replaceAll("([.,; ])Labs$", "$1Laboratories").replaceAll("([.,; ])Lab$", "$1Laboratories").replaceAll("([.,; ])Lect$", "$1Lecture").replaceAll("([.,; ])Lib$", "$1Library").replaceAll("([.,; ])Ltd$", "$1Limited").replaceAll("([.,; ])Malad$", "$1Maladies").replaceAll("([.,; ])Malagasy Republ$", "$1Malagasy Republic").replaceAll("([.,; ])Matemat$", "$1Matematicky").replaceAll("([.,; ])Mathematics$", "$1Mathematical").replaceAll("([.,; ])Math$", "$1Mathematics").replaceAll("([.,; ])Mat$", "$1Material").replaceAll("([.,; ])Mechanical$", "$1Mechanical").replaceAll("([.,; ])Mechanics$", "$1Mechanical").replaceAll("([.,; ])Mech$", "$1Mechanical").replaceAll("([.,; ])Medical$", "$1Medicinal").replaceAll("([.,; ])Medicinal$", "$1Medicinal").replaceAll("([.,; ])Medicine$", "$1Medicinal").replaceAll("([.,; ])Meditskkaya$", "$1Medizin").replaceAll("([.,; ])Med$", "$1Medical").replaceAll("([.,; ])Mem$", "$1Memorial").replaceAll("([.,; ])Metabolic$", "$1Metabolism").replaceAll("([.,; ])Metab$", "$1Metabolic").replaceAll("([.,; ])Metallurgy$", "$1Metabolic").replaceAll("([.,; ])Metal$", "$1Metabolic").replaceAll("([.,; ])Met$", "$1Metallurgical").replaceAll("([.,; ])Mfg$", "$1Manufacturing").replaceAll("([.,; ])Mil$", "$1Military").replaceAll("([.,; ])Minist$", "$1Ministry").replaceAll("([.,; ])Min$", "$1Mining").replaceAll("([.,; ])Mkt$", "$1Mining").replaceAll("([.,; ])Molecule$", "$1Molekular").replaceAll("([.,; ])Mol$", "$1Molecular").replaceAll("([.,; ])Mongol Peo Rep$", "$1Mongolian People's Republic").replaceAll("([.,; ])Mount$", "$1Mountain").replaceAll("([.,; ])Mt$", "$1Mountain").replaceAll("([.,; ])Nacional$", "$1Nacional").replaceAll("([.,; ])National$", "$1Nacional").replaceAll("([.,; ])Natl$", "$1Nacional").replaceAll("([.,; ])Nature$", "$1Nacional").replaceAll("([.,; ])Nat$", "$1Nature").replaceAll("([.,; ])Navigation$", "$1Navigational").replaceAll("([.,; ])Nav$", "$1Navigational").replaceAll("([.,; ])Nazionale$", "$1Nazionale").replaceAll("([.,; ])Neth Antilles$", "$1Netherlands Antilles").replaceAll("([.,; ])NE$", "$1Northeast").replaceAll("([.,; ])North Ireland$", "$1Northern Ireland").replaceAll("([.,; ])Northeast$", "$1Northeastern").replaceAll("([.,; ])Northwest$", "$1Northwestern").replaceAll("([.,; ])No$", "$1Northern").replaceAll("([.,; ])Nucl$", "$1Nuclear").replaceAll("([.,; ])Nukl$", "$1Nuklear").replaceAll("([.,; ])Nutr$", "$1Nutrition").replaceAll("([.,; ])NW$", "$1Northwest").replaceAll("([.,; ])N$", "$1North").replaceAll("([.,; ])Observ$", "$1Observatory").replaceAll("([.,; ])Obstet$", "$1Obstetrics").replaceAll("([.,; ])Off$", "$1Office").replaceAll("([.,; ])Organization$", "$1Organizational").replaceAll("([.,; ])Org$", "$1Organization").replaceAll("([.,; ])Osped$", "$1Ospedale").replaceAll("([.,; ])Paediatric$", "$1Paediatric").replaceAll("([.,; ])Paediat$", "$1Paediat").replaceAll("([.,; ])Papua N Guinea$", "$1Papua New Guinea").replaceAll("([.,; ])Pediatric$", "$1Pediatrics").replaceAll("([.,; ])Peoples R China$", "$1People's Republic of China").replaceAll("([.,; ])Petr$", "$1Petroleum").replaceAll("([.,; ])Pharm$", "$1Pharmacy").replaceAll("([.,; ])Phys$", "$1Physical").replaceAll("([.,; ])Pkwy$", "$1Parkway").replaceAll("([.,; ])Pk$", "$1Park").replaceAll("([.,; ])Place$", "$1Place").replaceAll("([.,; ])Platz$", "$1Plein").replaceAll("([.,; ])Pl$", "$1Place").replaceAll("([.,; ])Process$", "$1Processing").replaceAll("([.,; ])Proc$", "$1Processing").replaceAll("([.,; ])Products$", "$1Production").replaceAll("([.,; ])Prod$", "$1Production").replaceAll("([.,; ])Prof$", "$1Production").replaceAll("([.,; ])Prop$", "$1Production").replaceAll("([.,; ])Prot$", "$1Protein").replaceAll("([.,; ])Province$", "$1Provincial").replaceAll("([.,; ])Prov$", "$1Province").replaceAll("([.,; ])Psychiatry$", "$1Psychiatry").replaceAll("([.,; ])Psychiat$", "$1Psychiatry").replaceAll("([.,; ])Pulm$", "$1Pulmonary").replaceAll("([.,; ])Quim$", "$1Quimica").replaceAll("([.,; ])Rd$", "$1Road").replaceAll("([.,; ])Rech$", "$1Recherche").replaceAll("([.,; ])Rehabil$", "$1Rehabilitation").replaceAll("([.,; ])Rep of Georgia$", "$1Republic of Georgia").replaceAll("([.,; ])Reproduction$", "$1Reproductive").replaceAll("([.,; ])Reprod$", "$1Reproduction").replaceAll("([.,; ])Resp$", "$1Respiratory").replaceAll("([.,; ])Res$", "$1Research").replaceAll("([.,; ])Ricerca$", "$1Ricerche").replaceAll("([.,; ])Ric$", "$1Ricerca").replaceAll("([.,; ])Sanat$", "$1Sanatorium").replaceAll("([.,; ])Sanit$", "$1Sanitary").replaceAll("([.,; ])Sao Tome E Prin$", "$1Sao Tome E Principe").replaceAll("([.,; ])Sch$", "$1School").replaceAll("([.,; ])Science$", "$1Scientific").replaceAll("([.,; ])Sci$", "$1Science").replaceAll("([.,; ])Semicond$", "$1Semiconductor").replaceAll("([.,; ])Serv$", "$1Service").replaceAll("([.,; ])Se$", "$1Southeast").replaceAll("([.,; ])Soc$", "$1Society").replaceAll("([.,; ])Southeast$", "$1Southeast").replaceAll("([.,; ])Southwest$", "$1Southeast").replaceAll("([.,; ])So$", "$1Southern").replaceAll("([.,; ])Spect$", "$1Spectroscopy").replaceAll("([.,; ])Sq$", "$1Square").replaceAll("([.,; ])St Kitts & Nevi$", "$1Saint Kitts & Nevis").replaceAll("([.,; ])Standard$", "$1Standard").replaceAll("([.,; ])Stand$", "$1Standard").replaceAll("([.,; ])Statistics$", "$1Statistical").replaceAll("([.,; ])Stat$", "$1Statistical").replaceAll("([.,; ])Stn$", "$1Station").replaceAll("([.,; ])Structure$", "$1Structure").replaceAll("([.,; ])Struct$", "$1Structure").replaceAll("([.,; ])Str$", "$1Straat").replaceAll("([.,; ])St$", "$1Street").replaceAll("([.,; ])Substance$", "$1Substances").replaceAll("([.,; ])Subst$", "$1Substances").replaceAll("([.,; ])Super$", "$1Super").replaceAll("([.,; ])Surgeon$", "$1Surgeons").replaceAll("([.,; ])Surg$", "$1Surgeons").replaceAll("([.,; ])Sw$", "$1Southwest").replaceAll("([.,; ])Synth$", "$1Synthesis").replaceAll("([.,; ])System$", "$1System").replaceAll("([.,; ])Syst$", "$1System").replaceAll("([.,; ])S$", "$1South").replaceAll("([.,; ])Tb$", "$1Tuberculosis").replaceAll("([.,; ])Technical$", "$1Technical").replaceAll("([.,; ])Technische$", "$1Technische").replaceAll("([.,; ])Tech$", "$1Technical").replaceAll("([.,; ])Tel$", "$1Telephone").replaceAll("([.,; ])Temp$", "$1Temperature").replaceAll("([.,; ])Terr$", "$1Terrestrial").replaceAll("([.,; ])Textile$", "$1Textiles").replaceAll("([.,; ])Text$", "$1Textiles").replaceAll("([.,; ])Trinid & Tobago$", "$1Trinidad & Tobago").replaceAll("([.,; ])Tud$", "$1Tudomanyos").replaceAll("([.,; ])U Arab Emirates$", "$1United Arab Emirates").replaceAll("([.,; ])Univ$", "$1University").replaceAll("([.,; ])USA$", "$1United States of America").replaceAll("([.,; ])Vasc$", "$1Vascular").replaceAll("([.,; ])Vet$", "$1Veterns").replaceAll("([.,; ])Weap$", "$1Weapons").replaceAll("([.,; ])Welf$", "$1Welfare").replaceAll("([.,; ])Wissenschafter$", "$1Wissenschafter").replaceAll("([.,; ])Wissenschaftes$", "$1Wissenschaftes").replaceAll("([.,; ])Wissenschaft$", "$1Wissenschaft").replaceAll("([.,; ])Wissensch$", "$1Wissensch").replaceAll("([.,; ])W$", "$1West").replaceAll("([.,; ])Zent$", "$1Zentral");
        return str;
    }


    // 规范WOS表中的作者单位信息部分。
    public static String reArgs(String str) {
        if (null == str || str.isEmpty()) {
            return "";
        }
        str = str.replaceAll("([.,; ])Abt([.,; ])", "$1Abteilung$2").replaceAll("([.,; ])Academy([.,; ])", "$1Academy$2").replaceAll("([.,; ])Acad([.,; ])", "$1Academy$2").replaceAll("([.,; ])Accid([.,; ])", "$1Accident$2").replaceAll("([.,; ])Administration([.,; ])", "$1Administration$2").replaceAll("([.,; ])Adm([.,; ])", "$1Administration$2").replaceAll("([.,; ])Adv([.,; ])", "$1Advance(d)$2").replaceAll("([.,; ])Aerosp([.,; ])", "$1Aerospace$2").replaceAll("([.,; ])Agcy([.,; ])", "$1Agency$2").replaceAll("([.,; ])Agriculture([.,; ])", "$1Agricultural$2").replaceAll("([.,; ])Agr([.,; ])", "$1Agricultural$2").replaceAll("([.,; ])Akad([.,; ])", "$1Accident$2").replaceAll("([.,; ])Amer([.,; ])", "$1America(n)$2").replaceAll("([.,; ])Anal([.,; ])", "$1Analysis$2").replaceAll("([.,; ])Anatomie([.,; ])", "$1Anatomia$2").replaceAll("([.,; ])Anatomy([.,; ])", "$1Anatomia$2").replaceAll("([.,; ])Anat([.,; ])", "$1Anatomia$2").replaceAll("([.,; ])Angew([.,; ])", "$1Angewandte$2").replaceAll("([.,; ])Anim([.,; ])", "$1Animal$2").replaceAll("([.,; ])Antigua & Barbu([.,; ])", "$1Antigua & Barbuda$2").replaceAll("([.,; ])Apparat([.,; ])", "$1Apparatus$2").replaceAll("([.,; ])Appl([.,; ])", "$1Applied$2").replaceAll("([.,; ])Arthrit([.,; ])", "$1Arthritis$2").replaceAll("([.,; ])Assoc([.,; ])", "$1Association$2").replaceAll("([.,; ])Augenklin([.,; ])", "$1Augenklinik$2").replaceAll("([.,; ])Ave([.,; ])", "$1Avenue$2").replaceAll("([.,; ])Behavior([.,; ])", "$1Behavior$2").replaceAll("([.,; ])Behaviour([.,; ])", "$1Behavior$2").replaceAll("([.,; ])Behav([.,; ])", "$1Behavior$2").replaceAll("([.,; ])Biochem([.,; ])", "$1Biochemistry$2").replaceAll("([.,; ])Biologie([.,; ])", "$1Biologie$2").replaceAll("([.,; ])Biology([.,; ])", "$1Biologie$2").replaceAll("([.,; ])Biol([.,; ])", "$1Biologie$2").replaceAll("([.,; ])Bldg([.,; ])", "$1Building$2").replaceAll("([.,; ])Blvd([.,; ])", "$1Boulevard$2").replaceAll("([.,; ])Bosnia & Herceg([.,; ])", "$1Bosnia & Hercegovina$2").replaceAll("([.,; ])Botanic([.,; ])", "$1Botanical$2").replaceAll("([.,; ])Botany([.,; ])", "$1Botanical$2").replaceAll("([.,; ])Bot([.,; ])", "$1Botanical$2").replaceAll("([.,; ])Bros([.,; ])", "$1Brothers$2").replaceAll("([.,; ])Bur([.,; ])", "$1Bureau$2").replaceAll("([.,; ])Canc([.,; ])", "$1Cancer$2").replaceAll("([.,; ])Cent Afr Republ([.,; ])", "$1Central African Republic$2").replaceAll("([.,; ])Cent([.,; ])", "$1Central$2").replaceAll("([.,; ])Chemistry([.,; ])", "$1Chemistry$2").replaceAll("([.,; ])Chem([.,; ])", "$1Chemistry$2").replaceAll("([.,; ])Chim([.,; ])", "$1Chemistry$2").replaceAll("([.,; ])Chirurg([.,; ])", "$1Chirurgie$2").replaceAll("([.,; ])Cient([.,; ])", "$1Cientificas$2").replaceAll("([.,; ])Clinic([.,; ])", "$1Clinical$2").replaceAll("([.,; ])Clin([.,; ])", "$1Clinical$2").replaceAll("([.,; ])Coll([.,; ])", "$1College$2").replaceAll("([.,; ])Commun([.,; ])", "$1Communication$2").replaceAll("([.,; ])Comm([.,; ])", "$1Committee$2").replaceAll("([.,; ])Computer([.,; ])", "$1Computer$2").replaceAll("([.,; ])Comp([.,; ])", "$1Computer$2").replaceAll("([.,; ])Com([.,; ])", "$1Comite$2").replaceAll("([.,; ])Conf([.,; ])", "$1Conference$2").replaceAll("([.,; ])Corporation([.,; ])", "$1Corporate$2").replaceAll("([.,; ])Corp([.,; ])", "$1Corporation$2").replaceAll("([.,; ])Co([.,; ])", "$1Company$2").replaceAll("([.,; ])Cpds([.,; ])", "$1Compounds$2").replaceAll("([.,; ])Ctr([.,; ])", "$1Center$2").replaceAll("([.,; ])Cty([.,; ])", "$1County$2").replaceAll("([.,; ])Cytologie([.,; ])", "$1Cytologie$2").replaceAll("([.,; ])Cytology([.,; ])", "$1Cytologie$2").replaceAll("([.,; ])Cytol([.,; ])", "$1Cytologie$2").replaceAll("([.,; ])Def([.,; ])", "$1Defence or Defense$2").replaceAll("([.,; ])Dental([.,; ])", "$1Dentistry$2").replaceAll("([.,; ])Dent([.,; ])", "$1Dentistry$2").replaceAll("([.,; ])Dept([.,; ])", "$1Department$2").replaceAll("([.,; ])Deutschen([.,; ])", "$1Deutschen$2").replaceAll("([.,; ])Deutscher([.,; ])", "$1Deutschen$2").replaceAll("([.,; ])Deutsches([.,; ])", "$1Deutsches$2").replaceAll("([.,; ])Deutsche([.,; ])", "$1Deutsches$2").replaceAll("([.,; ])Deutsch([.,; ])", "$1Deutsches$2").replaceAll("([.,; ])Development([.,; ])", "$1Development$2").replaceAll("([.,; ])Dev([.,; ])", "$1Development$2").replaceAll("([.,; ])Diabet([.,; ])", "$1Diabet$2").replaceAll("([.,; ])Diag([.,; ])", "$1Diagnosis$2").replaceAll("([.,; ])Disease([.,; ])", "$1Diseases$2").replaceAll("([.,; ])Dist([.,; ])", "$1District$2").replaceAll("([.,; ])Dis([.,; ])", "$1Diseases$2").replaceAll("([.,; ])Div([.,; ])", "$1Division$2").replaceAll("([.,; ])Dominican Rep([.,; ])", "$1Dominican Republic$2").replaceAll("([.,; ])Dr([.,; ])", "$1Drive$2").replaceAll("([.,; ])Econ([.,; ])", "$1Economy$2").replaceAll("([.,; ])Education([.,; ])", "$1Education$2").replaceAll("([.,; ])Educ([.,; ])", "$1Education$2").replaceAll("([.,; ])EEG([.,; ])", "$1Electroencephalographic$2").replaceAll("([.,; ])Egyet([.,; ])", "$1Egyetem$2").replaceAll("([.,; ])Electrical([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Electricity([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Electric([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Electroencephalographic([.,; ])", "$1Electroencephalography$2").replaceAll("([.,; ])Electronic([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Elect([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Elektrische([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Elektrizitat([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Elektronic([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Elekt([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Engineering([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Engn([.,; ])", "$1Electrical$2").replaceAll("([.,; ])Environment([.,; ])", "$1Environment$2").replaceAll("([.,; ])Environm([.,; ])", "$1Environment$2").replaceAll("([.,; ])Equat Guinea([.,; ])", "$1Equatorial Guinea$2").replaceAll("([.,; ])Establishment([.,; ])", "$1Etablissement$2").replaceAll("([.,; ])Estab([.,; ])", "$1Establishment$2").replaceAll("([.,; ])Estab([.,; ])", "$1Etablissement$2").replaceAll("([.,; ])Etab([.,; ])", "$1Etablissement$2").replaceAll("([.,; ])Etud([.,; ])", "$1Étude$2").replaceAll("([.,; ])Experiment([.,; ])", "$1Experiment$2").replaceAll("([.,; ])Expt([.,; ])", "$1Experiment$2").replaceAll("([.,; ])E([.,; ])", "$1East$2").replaceAll("([.,; ])Fac([.,; ])", "$1Faculty$2").replaceAll("([.,; ])Fak([.,; ])", "$1Fakultat$2").replaceAll("([.,; ])Farm([.,; ])", "$1Farmacia$2").replaceAll("([.,; ])Fdn([.,; ])", "$1Foundation$2").replaceAll("([.,; ])Fed([.,; ])", "$1Federal$2").replaceAll("([.,; ])Fis([.,; ])", "$1Fisica$2").replaceAll("([.,; ])Forsch([.,; ])", "$1Forschung$2").replaceAll("([.,; ])Foundation([.,; ])", "$1Fundacion$2").replaceAll("([.,; ])Fr Austr Lands([.,; ])", "$1French Austral Lands$2").replaceAll("([.,; ])Fr Polynesia([.,; ])", "$1French Polynesia$2").replaceAll("([.,; ])Ft([.,; ])", "$1Fort$2").replaceAll("([.,; ])Fys([.,; ])", "$1Fysica$2").replaceAll("([.,; ])Gen([.,; ])", "$1General$2").replaceAll("([.,; ])Geol([.,; ])", "$1Geology$2").replaceAll("([.,; ])Gesell([.,; ])", "$1Gesellschaft$2").replaceAll("([.,; ])Govt([.,; ])", "$1Government$2").replaceAll("([.,; ])Grad([.,; ])", "$1Graduate$2").replaceAll("([.,; ])Group([.,; ])", "$1Gruppe$2").replaceAll("([.,; ])Grp([.,; ])", "$1Group$2").replaceAll("([.,; ])Hgsk([.,; ])", "$1Hogeskole$2").replaceAll("([.,; ])Historic([.,; ])", "$1Historical$2").replaceAll("([.,; ])History([.,; ])", "$1Historical$2").replaceAll("([.,; ])Hist([.,; ])", "$1Historical$2").replaceAll("([.,; ])Hlth([.,; ])", "$1Health$2").replaceAll("([.,; ])Hop([.,; ])", "$1Hospital$2").replaceAll("([.,; ])Horticulture([.,; ])", "$1Horticultural$2").replaceAll("([.,; ])Hort([.,; ])", "$1Horticultural$2").replaceAll("([.,; ])Hosp([.,; ])", "$1Hospital$2").replaceAll("([.,; ])Hsch([.,; ])", "$1Hochschule$2").replaceAll("([.,; ])Hts([.,; ])", "$1Heights$2").replaceAll("([.,; ])Husb([.,; ])", "$1Husbandry$2").replaceAll("([.,; ])Hyg([.,; ])", "$1Hygiene$2").replaceAll("([.,; ])Immunol([.,; ])", "$1Immunology$2").replaceAll("([.,; ])Inc([.,; ])", "$1Incorporated$2").replaceAll("([.,; ])Industry([.,; ])", "$1Industrial$2").replaceAll("([.,; ])Ind([.,; ])", "$1Industrial$2").replaceAll("([.,; ])Ind([.,; ])", "$1Industry$2").replaceAll("([.,; ])Infect([.,; ])", "$1Infectious$2").replaceAll("([.,; ])Infirm([.,; ])", "$1Infirmary$2").replaceAll("([.,; ])Ingegneria([.,; ])", "$1Ingenieria$2").replaceAll("([.,; ])Ingenieria([.,; ])", "$1Ingenieria$2").replaceAll("([.,; ])Ingn([.,; ])", "$1Ingenieria$2").replaceAll("([.,; ])Institute([.,; ])", "$1Institutional$2").replaceAll("([.,; ])Institute([.,; ])", "$1Ist$2").replaceAll("([.,; ])Inst([.,; ])", "$1Institute$2").replaceAll("([.,; ])Intro([.,; ])", "$1Introduction$2").replaceAll("([.,; ])Int([.,; ])", "$1International$2").replaceAll("([.,; ])Investigation([.,; ])", "$1Investigational$2").replaceAll("([.,; ])Invest([.,; ])", "$1Investigational$2").replaceAll("([.,; ])Isit([.,; ])", "$1Institutional$2").replaceAll("([.,; ])Isl([.,; ])", "$1Island$2").replaceAll("([.,; ])Istituto([.,; ])", "$1Institutional$2").replaceAll("([.,; ])Jr([.,; ])", "$1Junior$2").replaceAll("([.,; ])Kardiol([.,; ])", "$1Kardiologie$2").replaceAll("([.,; ])Kem([.,; ])", "$1Kemiai$2").replaceAll("([.,; ])Klin([.,; ])", "$1Klinik$2").replaceAll("([.,; ])Konf([.,; ])", "$1Konference$2").replaceAll("([.,; ])Laboratory([.,; ])", "$1Laboratories$2").replaceAll("([.,; ])Labs([.,; ])", "$1Laboratories$2").replaceAll("([.,; ])Lab([.,; ])", "$1Laboratories$2").replaceAll("([.,; ])Lect([.,; ])", "$1Lecture$2").replaceAll("([.,; ])Lib([.,; ])", "$1Library$2").replaceAll("([.,; ])Ltd([.,; ])", "$1Limited$2").replaceAll("([.,; ])Malad([.,; ])", "$1Maladies$2").replaceAll("([.,; ])Malagasy Republ([.,; ])", "$1Malagasy Republic$2").replaceAll("([.,; ])Matemat([.,; ])", "$1Matematicky$2").replaceAll("([.,; ])Mathematics([.,; ])", "$1Mathematical$2").replaceAll("([.,; ])Math([.,; ])", "$1Mathematics$2").replaceAll("([.,; ])Mat([.,; ])", "$1Material$2").replaceAll("([.,; ])Mechanical([.,; ])", "$1Mechanical$2").replaceAll("([.,; ])Mechanics([.,; ])", "$1Mechanical$2").replaceAll("([.,; ])Mech([.,; ])", "$1Mechanical$2").replaceAll("([.,; ])Medical([.,; ])", "$1Medicinal$2").replaceAll("([.,; ])Medicinal([.,; ])", "$1Medicinal$2").replaceAll("([.,; ])Medicine([.,; ])", "$1Medicinal$2").replaceAll("([.,; ])Meditskkaya([.,; ])", "$1Medizin$2").replaceAll("([.,; ])Med([.,; ])", "$1Medical$2").replaceAll("([.,; ])Mem([.,; ])", "$1Memorial$2").replaceAll("([.,; ])Metabolic([.,; ])", "$1Metabolism$2").replaceAll("([.,; ])Metab([.,; ])", "$1Metabolic$2").replaceAll("([.,; ])Metallurgy([.,; ])", "$1Metabolic$2").replaceAll("([.,; ])Metal([.,; ])", "$1Metabolic$2").replaceAll("([.,; ])Met([.,; ])", "$1Metallurgical$2").replaceAll("([.,; ])Mfg([.,; ])", "$1Manufacturing$2").replaceAll("([.,; ])Mil([.,; ])", "$1Military$2").replaceAll("([.,; ])Minist([.,; ])", "$1Ministry$2").replaceAll("([.,; ])Min([.,; ])", "$1Mining$2").replaceAll("([.,; ])Mkt([.,; ])", "$1Mining$2").replaceAll("([.,; ])Molecule([.,; ])", "$1Molekular$2").replaceAll("([.,; ])Mol([.,; ])", "$1Molecular$2").replaceAll("([.,; ])Mongol Peo Rep([.,; ])", "$1Mongolian People's Republic$2").replaceAll("([.,; ])Mount([.,; ])", "$1Mountain$2").replaceAll("([.,; ])Mt([.,; ])", "$1Mountain$2").replaceAll("([.,; ])Nacional([.,; ])", "$1Nacional$2").replaceAll("([.,; ])National([.,; ])", "$1Nacional$2").replaceAll("([.,; ])Natl([.,; ])", "$1Nacional$2").replaceAll("([.,; ])Nature([.,; ])", "$1Nacional$2").replaceAll("([.,; ])Nat([.,; ])", "$1Nature$2").replaceAll("([.,; ])Navigation([.,; ])", "$1Navigational$2").replaceAll("([.,; ])Nav([.,; ])", "$1Navigational$2").replaceAll("([.,; ])Nazionale([.,; ])", "$1Nazionale$2").replaceAll("([.,; ])Neth Antilles([.,; ])", "$1Netherlands Antilles$2").replaceAll("([.,; ])NE([.,; ])", "$1Northeast$2").replaceAll("([.,; ])North Ireland([.,; ])", "$1Northern Ireland$2").replaceAll("([.,; ])Northeast([.,; ])", "$1Northeastern$2").replaceAll("([.,; ])Northwest([.,; ])", "$1Northwestern$2").replaceAll("([.,; ])No([.,; ])", "$1Northern$2").replaceAll("([.,; ])Nucl([.,; ])", "$1Nuclear$2").replaceAll("([.,; ])Nukl([.,; ])", "$1Nuklear$2").replaceAll("([.,; ])Nutr([.,; ])", "$1Nutrition$2").replaceAll("([.,; ])NW([.,; ])", "$1Northwest$2").replaceAll("([.,; ])N([.,; ])", "$1North$2").replaceAll("([.,; ])Observ([.,; ])", "$1Observatory$2").replaceAll("([.,; ])Obstet([.,; ])", "$1Obstetrics$2").replaceAll("([.,; ])Off([.,; ])", "$1Office$2").replaceAll("([.,; ])Organization([.,; ])", "$1Organizational$2").replaceAll("([.,; ])Org([.,; ])", "$1Organization$2").replaceAll("([.,; ])Osped([.,; ])", "$1Ospedale$2").replaceAll("([.,; ])Paediatric([.,; ])", "$1Paediatric$2").replaceAll("([.,; ])Paediat([.,; ])", "$1Paediat$2").replaceAll("([.,; ])Papua N Guinea([.,; ])", "$1Papua New Guinea$2").replaceAll("([.,; ])Pediatric([.,; ])", "$1Pediatrics$2").replaceAll("([.,; ])Peoples R China([.,; ])", "$1People's Republic of China$2").replaceAll("([.,; ])Petr([.,; ])", "$1Petroleum$2").replaceAll("([.,; ])Pharm([.,; ])", "$1Pharmacy$2").replaceAll("([.,; ])Phys([.,; ])", "$1Physical$2").replaceAll("([.,; ])Pkwy([.,; ])", "$1Parkway$2").replaceAll("([.,; ])Pk([.,; ])", "$1Park$2").replaceAll("([.,; ])Place([.,; ])", "$1Place$2").replaceAll("([.,; ])Platz([.,; ])", "$1Plein$2").replaceAll("([.,; ])Pl([.,; ])", "$1Place$2").replaceAll("([.,; ])Process([.,; ])", "$1Processing$2").replaceAll("([.,; ])Proc([.,; ])", "$1Processing$2").replaceAll("([.,; ])Products([.,; ])", "$1Production$2").replaceAll("([.,; ])Prod([.,; ])", "$1Production$2").replaceAll("([.,; ])Prof([.,; ])", "$1Production$2").replaceAll("([.,; ])Prop([.,; ])", "$1Production$2").replaceAll("([.,; ])Prot([.,; ])", "$1Protein$2").replaceAll("([.,; ])Province([.,; ])", "$1Provincial$2").replaceAll("([.,; ])Prov([.,; ])", "$1Province$2").replaceAll("([.,; ])Psychiatry([.,; ])", "$1Psychiatry$2").replaceAll("([.,; ])Psychiat([.,; ])", "$1Psychiatry$2").replaceAll("([.,; ])Pulm([.,; ])", "$1Pulmonary$2").replaceAll("([.,; ])Quim([.,; ])", "$1Quimica$2").replaceAll("([.,; ])Rd([.,; ])", "$1Road$2").replaceAll("([.,; ])Rech([.,; ])", "$1Recherche$2").replaceAll("([.,; ])Rehabil([.,; ])", "$1Rehabilitation$2").replaceAll("([.,; ])Rep of Georgia([.,; ])", "$1Republic of Georgia$2").replaceAll("([.,; ])Reproduction([.,; ])", "$1Reproductive$2").replaceAll("([.,; ])Reprod([.,; ])", "$1Reproduction$2").replaceAll("([.,; ])Resp([.,; ])", "$1Respiratory$2").replaceAll("([.,; ])Res([.,; ])", "$1Research$2").replaceAll("([.,; ])Ricerca([.,; ])", "$1Ricerche$2").replaceAll("([.,; ])Ric([.,; ])", "$1Ricerca$2").replaceAll("([.,; ])Sanat([.,; ])", "$1Sanatorium$2").replaceAll("([.,; ])Sanit([.,; ])", "$1Sanitary$2").replaceAll("([.,; ])Sao Tome E Prin([.,; ])", "$1Sao Tome E Principe$2").replaceAll("([.,; ])Sch([.,; ])", "$1School$2").replaceAll("([.,; ])Science([.,; ])", "$1Scientific$2").replaceAll("([.,; ])Sci([.,; ])", "$1Science$2").replaceAll("([.,; ])Semicond([.,; ])", "$1Semiconductor$2").replaceAll("([.,; ])Serv([.,; ])", "$1Service$2").replaceAll("([.,; ])Se([.,; ])", "$1Southeast$2").replaceAll("([.,; ])Soc([.,; ])", "$1Society$2").replaceAll("([.,; ])Southeast([.,; ])", "$1Southeast$2").replaceAll("([.,; ])Southwest([.,; ])", "$1Southeast$2").replaceAll("([.,; ])So([.,; ])", "$1Southern$2").replaceAll("([.,; ])Spect([.,; ])", "$1Spectroscopy$2").replaceAll("([.,; ])Sq([.,; ])", "$1Square$2").replaceAll("([.,; ])St Kitts & Nevi([.,; ])", "$1Saint Kitts & Nevis$2").replaceAll("([.,; ])Standard([.,; ])", "$1Standard$2").replaceAll("([.,; ])Stand([.,; ])", "$1Standard$2").replaceAll("([.,; ])Statistics([.,; ])", "$1Statistical$2").replaceAll("([.,; ])Stat([.,; ])", "$1Statistical$2").replaceAll("([.,; ])Stn([.,; ])", "$1Station$2").replaceAll("([.,; ])Structure([.,; ])", "$1Structure$2").replaceAll("([.,; ])Struct([.,; ])", "$1Structure$2").replaceAll("([.,; ])Str([.,; ])", "$1Straat$2").replaceAll("([.,; ])St([.,; ])", "$1Street$2").replaceAll("([.,; ])Substance([.,; ])", "$1Substances$2").replaceAll("([.,; ])Subst([.,; ])", "$1Substances$2").replaceAll("([.,; ])Super([.,; ])", "$1Super$2").replaceAll("([.,; ])Surgeon([.,; ])", "$1Surgeons$2").replaceAll("([.,; ])Surg([.,; ])", "$1Surgeons$2").replaceAll("([.,; ])Sw([.,; ])", "$1Southwest$2").replaceAll("([.,; ])Synth([.,; ])", "$1Synthesis$2").replaceAll("([.,; ])System([.,; ])", "$1System$2").replaceAll("([.,; ])Syst([.,; ])", "$1System$2").replaceAll("([.,; ])S([.,; ])", "$1South$2").replaceAll("([.,; ])Tb([.,; ])", "$1Tuberculosis$2").replaceAll("([.,; ])Technical([.,; ])", "$1Technical$2").replaceAll("([.,; ])Technische([.,; ])", "$1Technische$2").replaceAll("([.,; ])Tech([.,; ])", "$1Technical$2").replaceAll("([.,; ])Tel([.,; ])", "$1Telephone$2").replaceAll("([.,; ])Temp([.,; ])", "$1Temperature$2").replaceAll("([.,; ])Terr([.,; ])", "$1Terrestrial$2").replaceAll("([.,; ])Textile([.,; ])", "$1Textiles$2").replaceAll("([.,; ])Text([.,; ])", "$1Textiles$2").replaceAll("([.,; ])Trinid & Tobago([.,; ])", "$1Trinidad & Tobago$2").replaceAll("([.,; ])Tud([.,; ])", "$1Tudomanyos$2").replaceAll("([.,; ])U Arab Emirates([.,; ])", "$1United Arab Emirates$2").replaceAll("([.,; ])Univ([.,; ])", "$1University$2").replaceAll("([.,; ])USA([.,; ])", "$1United States of America$2").replaceAll("([.,; ])Vasc([.,; ])", "$1Vascular$2").replaceAll("([.,; ])Vet([.,; ])", "$1Veterns$2").replaceAll("([.,; ])Weap([.,; ])", "$1Weapons$2").replaceAll("([.,; ])Welf([.,; ])", "$1Welfare$2").replaceAll("([.,; ])Wissenschafter([.,; ])", "$1Wissenschafter$2").replaceAll("([.,; ])Wissenschaftes([.,; ])", "$1Wissenschaftes$2").replaceAll("([.,; ])Wissenschaft([.,; ])", "$1Wissenschaft$2").replaceAll("([.,; ])Wissensch([.,; ])", "$1Wissensch$2").replaceAll("([.,; ])W([.,; ])", "$1West$2").replaceAll("([.,; ])Zent([.,; ])", "$1Zentral$2").replace("(provided by Clarivate Analytics)", "").replace("(provided by Clarivate;-;Analytics)", "").replace("Clarivate Analytics", "").replace("Clarivate", "").replace("Peoples R China", "People's Republic of China").replaceAll("\\[ \\d* \\]", "").replace("\\-\\", "").trim();
        str = reArgsFront(str);
        str = reArgsBack(str);
        return str;
    }


}
